import request from '@/utils/request'

export default {
  /** 系统用户 */
  sysUserList: request.post('/sys-user/page-list'),
  sysUserAdd: request.post('/sys-user/add'),
  sysUserUpdate: request.post('/sys-user/update'),
  sysUserStatusChange: request.get('/sys-user/status-change'),
  initPassword: request.get('/sys-user/init-password'),
  updatePassword: request.post('/sys-user/update-password'),

  /** 菜单管理 */
  authMenuRouter: request.get('/sys-menu/auth-list'),
  allMenuTree: request.get('/sys-menu/all-tree'),
  addMenu: request.post('/sys-menu/add'),
  delMenu: request.get('/sys-menu/delete'),
  updateMenu: request.post('/sys-menu/update'),

  /** 角色管理 */
  sysRolePageList: request.post('/sys-role/page-list'),
  getRoleSelectList: request.get('/sys-role/select-list'),
  deleteSysRole: request.get('/sys-role/delete'),
  sysRoleAdd: request.post('/sys-role/add'),
  sysRoleUpdate: request.post('/sys-role/update'),

  /** 商家管理 */
  selectMerchantTerminal: request.post('/merchantInfo/selectMerchantTerminal'),
  // 查询门店详情信息
  selectMerchantShopDetail: request.post('/merchantInfo/selectMerchantShopDetail'),
  // 保存/修改商户台卡信息
  saveMerchantTerminal: request.post('/merchantInfo/saveMerchantTerminal'),
  // 分页查询门店信息
  selectMerchantShop: request.post('/merchantInfo/selectMerchantShop'),
  // 编辑添加门店信息
  saveMerchantShop: request.post('/merchantInfo/saveMerchantShop'),
  // 商户订单分页
  pageList: request.post('/merchant-order/page-list'),
  // 商户订单详情
  orderInfo: request.post('/merchant-order/info'),
  // 退款
  orderRefund: request.post('/merchant-order/refund'),
  // 查询商户台卡详情信息
  selectMerchantTerminalDetail: request.post('/merchantInfo/selectMerchantTerminalDetail'),
  // 查询入驻商户明细信息
  selectMerchantInfo: request.post('/merchantInfo/selectMerchantInfo'),
  
  
}
